<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">



<ul class="pagination justify-content-center bh-page" th:fragment="pageNav(pageInfo, prevText, nextText,module, prefix)">
	<th:block th:if="${pageInfo.hasPreviousPage}">
		<li class="page-item"><a class="page-link" th:href="@{'/'+${module}+'/'+${prefix}+'?pageNumber='+${pageInfo.prePage}}" th:text="${prevText}"></a></li>
	</th:block>

	<th:block th:each="navIndex :${ pageInfo.navigatepageNums}">
		<li th:class="${pageInfo.pageNum==navIndex}?'page-item active':'page-item'"><a class="page-link" th:href="@{'/'+${module}+'/'+${prefix}+'?pageNumber='+${navIndex}}" th:text="${navIndex}"></a></li>
	</th:block>

	<th:block th:if="${pageInfo.hasNextPage}">
		<li class="page-item"><a class="page-link" th:href="@{'/'+${module}+'/'+${prefix}+'?pageNumber='+${pageInfo.nextPage}}" th:text="${nextText}"></a></li>
	</th:block>
</ul>


</body>
</html>